//
//  JrdCourseInfoCellTableViewCell.m
//  iMandarin
//
//  Created by longcheng on 16/6/20.
//  Copyright © 2016年 Singro. All rights reserved.
//

#import "JrdCourseInfoCellTableViewCell.h"
#import "JrdCommon.h"
@interface JrdCourseInfoCellTableViewCell()
@end
@implementation JrdCourseInfoCellTableViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

-(id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.textView = [[UITextView alloc] initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, (SCREEN_HEIGHT - 110 - 55 - NAVIGATION_BAR_HEIGHT - STATUS_BAR_HEIGHT))];
        [self.textView setFont:[UIFont systemFontOfSize:18.f]];
        //[self.label setNumberOfLines:0];
        //[self.label setLineBreakMode:UILineBreakModeWordWrap];
        [self addSubview:self.textView];
        //
        /*UIView *lineView = [[UIView alloc] initWithFrame:CGRectMake(16, 0, 1, 64)];
        lineView.backgroundColor = JrdNavigationBarColor;
        [self addSubview:lineView];
        
        _imageView = [[UIImageView alloc] initWithFrame:CGRectMake(7, 22, 20, 20)];
        _imageView.image = [UIImage imageNamed:@"course_class_study_status_not"];
        [self addSubview:_imageView];
        //课程名
        _classNameLabel = [[UILabel alloc] initWithFrame:CGRectMake(50, 5, SCREEN_WIDTH-10-50, 30)];
        _classNameLabel.font = [UIFont systemFontOfSize:15];
        [self addSubview:_classNameLabel];
        //课程时长
        _classHourseLabel = [[UILabel alloc] initWithFrame:CGRectMake(50, 30, SCREEN_WIDTH-10-50, 30)];
        _classHourseLabel.textColor = [UIColor lightGrayColor];
        _classHourseLabel.font = [UIFont systemFontOfSize:13];
        [self addSubview:_classHourseLabel];*/
    }
    return self;
}

@end
